import { FormSchema } from '@/components/Form';
import { AccountListItem } from '@/api/system/model/accountModel';

export const settingList = [
  {
    key: '1',
    name: '基本信息',
    component: 'BaseDetail',
  },
];

export const baseDetailSchema: FormSchema[] = [
  {
    field: 'account',
    component: 'Input',
    label: '账号',
    colProps: { span: 18 },
    dynamicDisabled: true,
    disabledLabelWidth: true,
  },
  {
    field: 'nickName',
    component: 'Input',
    label: '别名',
    colProps: { span: 18 },
    dynamicDisabled: true,
    disabledLabelWidth: true,
  },
  {
    field: 'mobile',
    component: 'Input',
    label: '手机号码',
    colProps: { span: 18 },
    dynamicDisabled: true,
    disabledLabelWidth: true,
  },
  {
    field: 'email',
    component: 'Input',
    label: '油箱',
    colProps: { span: 18 },
    dynamicDisabled: true,
    disabledLabelWidth: true,
  },
  {
    field: 'createTime',
    component: 'Input',
    label: '创建时间',
    colProps: { span: 18 },
    dynamicDisabled: true,
    disabledLabelWidth: true,
  },
];

export type AccountItemType = AccountListItem;
